<script>
$('#edit_communityId').combobox({    
	url: '/community/combobox',   
    valueField:'id',    
    textField:'name',
    editable:true,
    width:150,
    onSelect:function(record){  
    	$("#agentFeeName").val($('#edit_communityId').combobox('getText')+"（代购费）")
	}
});
</script>
<form method="post" id="editForm" name="editForm">
	<input type="hidden" name="agentFee.id" value="${(po.id)!}" id="poid">
	<div id="tt" class="easyui-tabs" style="width: 786px; height: 450px;">
		<div title="代购费" style="padding: 5px;">
			<table class="tableForm tableCss">
				<tr>
					<th><font color=red>*</font>社区服务站</th>
					<td colspan="3">
						<input id="edit_communityId" name="agentFee.community_id" value="${(po.community_id)!}"  data-options="required:true"> 
					</td>
				</tr>
				<tr>
					<th><font color=red>*</font>名称</th>
					<td colspan="3">
						<input type="text" id="agentFeeName" name="agentFee.name" class="easyui-validatebox" 
						value="${(po.name)!}" readonly="readonly"/>
					</td>
				</tr>
				<tr>
					<th><font color=red>*</font>起始值</th>
					<td>
						<input type="text" name="agentFee.begin" class="easyui-validatebox" 
						value="${(po.begin)!}" data-options="required:true" style="width:80px;"/>
					</td>
					<th><font color=red>*</font>结束值</th>
					<td>
						<input type="text" name="agentFee.end" class="easyui-validatebox" 
						value="${(po.end)!'9999'}" data-options="required:true" style="width:80px;"/> &nbsp;最大取值 9999
					</td>
				</tr>
				<!-- <tr>
					<th><font color=red>*</font>条件符号</th>
					<td colspan="3">
						<input name="agentFee.operator" class="easyui-combobox" value="${(po.operator)!'LT'}"
						data-options="valueField: 'label',textField: 'value',
						data: [{label: 'LT',value: '小于'},{label: 'LTE',value: '小于等于'},{label: 'EQ',value: '等于'},{label: 'GT',value: '大于'},{label: 'GTE',value: '大于等于'}]">
					</td>
				</tr> -->
				<tr>
					<th><font color=red>*</font>代购费用（元）</th>
					<td colspan="3">
						<input type="text" name="agentFee.fee" class="easyui-validatebox" 
						value="${(po.fee)!}" data-options="required:true"  style="width:100px;"/>
					</td>
				</tr>
				<tr>
					<th><font color=red>*</font>代购费描述</th>
					<td colspan="3">
						<textarea name="agentFee.summary" style="width:600px;height:80px;">${(po.summary)!}</textarea>
					</td>
				</tr>
			</table>
		</div>
	</div>
</form>